package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.alibaba.fastjson.annotation.JSONField;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.math.BigDecimal;
import org.locationtech.jts.geom.Geometry;
import lombok.Data;
import cn.topevery.garden.entity.serializer.GeometrySerializer;

/**
 * 
 */
@Data
@DbTable(tableName = "t_work_plan")
public class WorkPlan extends BaseEntity {
        /**
     * 班次名字
     */
    @DbTableField(columnName = "c_name", dbType = DbTypeEnum.VARCHAR)
    public String name ;

    /**
     * 开始时间
     */
    @DbTableField(columnName = "c_begin_time", dbType = DbTypeEnum.TIME)
    public LocalTime beginTime ;

    /**
     * 结束时间
     */
    @DbTableField(columnName = "c_end_time", dbType = DbTypeEnum.TIME)
    public LocalTime endTime ;

    /**
     * 分组ID
     */
    @DbTableField(columnName = "c_group_id", dbType = DbTypeEnum.INTEGER)
    public Integer groupId  = 0 ;

    /**
     * 分组名称
     */
    @DbTableField(columnName = "c_group_name", dbType = DbTypeEnum.VARCHAR)
    public String groupName ;

    /**
     * 备注
     */
    @DbTableField(columnName = "c_remark", dbType = DbTypeEnum.VARCHAR)
    public String remark ;

    /**
     * 启用状态（1：启用 ；2 ：停用
     */
    @DbTableField(columnName = "c_enable_state", dbType = DbTypeEnum.INTEGER)
    public Integer enableState  = 1 ;


}
